
from django.urls import re_path, path
from apps.spit import views
from .views import *



urlpatterns = [
    path('spit/', views.SpitListView.as_view()),
    re_path(r'^spit/(?P<id>\d+)/collect/$', views.SpitCollectView.as_view()),
    re_path(r'^spit/(?P<id>\d+)/updatethumbup/$', views.SpitHasthumbupView.as_view()),
    re_path(r'^spit/(?P<id>\d+)/$', views.SpitDetailView.as_view()),
    re_path(r'^spit/(?P<id>\d+)/children/$', views.SpitCommentView.as_view()),

]